#include <myheader_c_plus.h>
using std::endl;
using std::cout;
using std::list;
template<typename Container>
void display(const Container & con){
    for(auto & ele : con){
        cout << ele << " ";
    }
    cout << endl;
}
int main(int argc, char *argv[])
{
    list<int> li = {1,12,123,12};
    list<int>::iterator it = li.begin();
    it++;
    display(li);
    li.insert(it,100);
    display(li);
    it = li.end();
    cout << *it << "hello" << endl;
    it--;
    cout << *it << endl;

    return 0;
}

